//
// Created by 七 on 2022/11/1.
//

#include <iostream>
using namespace std;
int s1,s2,s3;
int vs(int a,int b,int c){
    int v;
    v=a*b*c;
    s1=a*b;
    s2=b*c;
    s3=a*c;
    return v;
}
int main(){
   int v,l,w,h;
   cout<<"input length.width and height"<<endl;
   cin>>l>>w>>h;
   v=vs(l,w,h);
   cout<<v<<" "<<s1<<" "<<s2<<" "<<s3<<" ";
}
